package com.jjong.dto;

import java.io.Serializable;
import java.sql.Timestamp;

public class MessageDto implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 2008627218144308971L;
	/**
	 * 
	 */
	private int mseq;
	private String email;
	private String email2;
	private String contents;
	private String del1;
	private String del2;
	
	public MessageDto() {
		super();
	}
	
	public int getMseq() {
		return mseq;
	}

	public void setMseq(int mseq) {
		this.mseq = mseq;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getEmail2() {
		return email2;
	}

	public void setEmail2(String email2) {
		this.email2 = email2;
	}

	public String getContents() {
		return contents;
	}

	public void setContents(String contents) {
		this.contents = contents;
	}

	public String getDel1() {
		return del1;
	}

	public void setDel1(String del1) {
		this.del1 = del1;
	}

	public String getDel2() {
		return del2;
	}

	public void setDel2(String del2) {
		this.del2 = del2;
	}

	public MessageDto(int mseq, String email, String email2,
			String contents, String del1, String del2) {
		super();
		this.mseq = mseq;
		this.email = email;
		this.email2 = email2;
		this.contents = contents;
		this.del1 = del1;
		this.del2 = del2;
		
	}
	
	public MessageDto(String email, String email2,
				String contents) {
			super();
			this.email = email;
			this.email2 = email2;
			this.contents = contents;
	}
	@Override
	public String toString() {
		return "MessageDto [mseq=" + mseq + ", email=" + email + ", email2="
				+ email2 + ", contents=" + contents + ", del1=" + del1
				+ ", del2=" + del2 + "]";
	}

	
	
}